package dao;

import dto.Player;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public class DataTest implements Data{

    public DataTest(HashMap<String ,String > param){
    }

    @Override
    public List<Player> loadData() {
        List<Player> players = new ArrayList<Player>();
        players.add(new Player("刘明",100));
      players.add(new Player("刘明",1000));
      players.add(new Player("刘明",2000));
        players.add(new Player("刘明",3000));
        players.add(new Player("刘明",4000));
        return players;
    }

    @Override
    public void saveData(Player players) {
//        System.out.println();
    }
}
